<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="../js/reset.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  </head>
  <body>
    <!-- <p>I would like to say: </p> -->
    <script>
      $(document).ready(function () {
        $.get("data.json", function (data) {
          let str = "<table border=1px><th colspan='3'>Mountain</th>";
          data.forEach((item) => {
            str += "<tr><td>";
            str += item.name;
            str += "</td><td>";
            str += item.height;
            str += "</td><td>";
            str += item.place;
            str += "</td></tr>";
          });
          str += "</table>";
          $("body").append(str);
        });
      });
    </script>
  </body>
</html>
